<style type="text/css">
    .content{min-height: 50px !important;}
</style>
<form id="add-form" class="form-inline" role="form" data-toggle="validator" method="POST" action="">
    <input type="hidden" name="row[id]" value="{$row['id']}">
    <input type="hidden" name="row[course_id]" value="{$row['course_id']}">
    <div class="form-group">
        <div class="col-xs-5 col-sm-5" style="padding:0px 5px 0 0;line-height:30px;text-align: right">
            <label>排列至第</label>
        </div>
        <div class="col-xs-3 col-sm-2" style="padding:0px;">
            <input id="c-title" data-rule="required" value="{$row['weigh']}" class="form-control" name="row[weigh]" type="text">
        </div>
        <div class="col-xs-2 col-sm-3" style="padding:0px 0 0 5px;line-height:30px;text-align: left">
            <label>位</label>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>